include_rules = [
    "-third_party/blink/renderer/modules",
    "+third_party/blink/renderer/modules/crypto",
    "+third_party/blink/renderer/modules/event_modules.h",
    "+third_party/blink/renderer/modules/event_target_modules.h",
    "+third_party/blink/renderer/modules/mediastream",
    "+third_party/blink/renderer/modules/modules_export.h",
    "+third_party/blink/renderer/modules/peerconnection",
    "+third_party/blink/renderer/modules/p2p",
    "+third_party/blink/renderer/modules/webrtc",

    # TODO(crbug.com/1266408): Temporarily added to enable splitting UMA stats based on tier.
    "+base/cpu.h",
    "+base/hash/md5.h",
    "+base/lazy_instance.h",
    "+base/power_monitor/power_observer.h",
    # TODO(crbug.com/787254): Replace base::SequenceChecker by base::ThreadChecker.
    "+base/sequence_checker.h",
    # TODO(crbug.com/787254): Replace StringPrintf uses here.
    "+base/strings/stringprintf.h",
    # TODO(crbug.com/1266408): Temporarily added to enable splitting UMA stats based on tier.
    "+base/system/sys_info.h",
    # TODO(crbug.com/787254): Remove the use of base::CurrentThread.
    "+base/task/current_thread.h",
    "+base/threading/thread.h",
    "+base/values.h",
    "+crypto/openssl_util.h",
    "+jingle/glue/thread_wrapper.h",
    "+media/base",
    "+media/media_buildflags.h",
    "+media/video/gpu_video_accelerator_factories.h",
    "+net/third_party/quiche/src/quic",
    "+net/third_party/quiche/src/common",
    "+net/net_buildflags.h",
    "+net/quic/chromium",
    "+net/quic",
    "+net/test",
    "+services/metrics/public/cpp/ukm_builders.h",
]

specific_include_rules = {
    ".*test.*": [
        "+base/run_loop.h",
        "+base/test/scoped_run_loop_timeout.h",
        "+base/test/test_timeouts.h",
        "+base/threading/thread.h",
        "+media/audio/audio_sink_parameters.h",
        "+media/audio/audio_source_parameters.h",
        "+ui/gfx/color_space.h",
    ],
}
